package people.paper.tv.activity.home.modual.sptt.model.impl;

import android.content.Context;

import com.coocaa.app.support.net.Callback;
import com.coocaa.app.support.net.Result;

import java.util.List;

import people.paper.tv.activity.home.model.MainDataObject;
import people.paper.tv.activity.home.model.MainServerHttpService;
import people.paper.tv.activity.home.modual.sptt.model.SPTTModel;

public class SPTTModelImpl implements SPTTModel {
    @Override
    public void create(Context context) {

    }

    @Override
    public void get(int pageIndex, Callback<Result<List<MainDataObject.SPTTObject>>> callback) {
        MainServerHttpService.httpService.getSPTT(pageIndex, callback);
    }
}
